/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package sisgp;
import view.Login;
import view.frmMenu;
import sisgp.SisStorer;
import sisgp.SisMsg;
import sisgp.testesSandro;



/**
 *
 * @author Sandro
 */
public class SISGP {

    public static void main(String[] args) {
        
        SisStorer.sessaovalida = 0; //inicializa o controle da sessao como inativa
        
        //testesSandro teste = new testesSandro();
        
       // teste.testeMn();
        
        
        
        Login logi = new Login(null, true);
        logi.setVisible(true);
        
        if(SisStorer.sessaovalida == 1)
        {
            frmMenu fmenu = new frmMenu();
            fmenu.setVisible(true);
        }
        else
        {   
            System.exit(0);
        }
        
    }
    
}
